/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database.worker;

/**
 * Interface that notifies a listener, when the worker successfully! completed.
 * 
 * @author Pascal
 */
public interface IDoneListener<T> {
    
    /**
     * Gets called as soon as the worker successfully completed<br/>
     * Note this method is not called if an error occured during execution of the task!
     * 
     * @param arg A possible return value of the worker
     */
    public void done(T arg);
}
